package com.course.cdspringboot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;


@Mapper
public interface OptionsMapper {

    @Select("SELECT * FROM major")
    public List<Map<String, Object>> major();

    @Select("SELECT * FROM school")
    public List<Map<String, Object>> school();

    @Select("SELECT * FROM departments")
    public List<Map<String, Object>> departments();

    @Select("SELECT * FROM teacher_title")
    public List<Map<String, Object>> teacher_title();
}
